package com.uidt.project.ptsj.obj;

import lombok.Data;

@Data
public class GroupInfo implements Comparable<GroupInfo>{

    private String groupName;
    private String deptName;
    private String leaderName;
    private String sort;


    @Override
    public int compareTo(GroupInfo o) {
        // 按照年龄进行比较
        return this.sort.hashCode() - o.sort.hashCode();
    }
}
